package my.ts.code.viewgroup;

import my.ts.code.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class Paging extends LinearLayout {

	TextView titletv;
	
	public Paging(Context context, String title) {
		super(context);
		LayoutInflater li = (LayoutInflater) this.getContext()
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		li.inflate(R.layout.paging, this, true);

		titletv = (TextView) findViewById(R.id.title);
		titletv.setText(title);
	}
}
